<?php
//strcmp(string $string1, string $string2): int
//strcmp — 二进制安全字符串比较

$var1 = "Hello";
$var2 = "hello";
$bool=strcmp($var1,$var2);
var_dump($bool);